import re

obj=re.compile('\W+')#\W+表匹配一次或多次
s='This book is the book on Python or M.L. I have never laid eyes upon.'
print(obj.split(s))